s=input("Please input a English sentence .")
s=s.lower()
sList=s.split()
sDict={}
for item in sList:
    if item[-1] in ',.\'''!':
        item=item[:-1]
    if item not in sDict:
        sDict[item]=1
    else:
        sDict[item]+=1
print(sDict)

sDict={}
for item in sList:
    sDict[item]=sDict.get(item,0)+1
print(sDict)